package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterTaskRecordDao;
import com.vf.admin.miaodong.entity.AppTaskRecord;
import com.vf.admin.miaodong.service.AfterTaskRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AfterTaskRecordServiceImpl.java
 * @Description 任务记录
 * @createTime 2021年07月26日 11:08:00
 */
@Service
public class AfterTaskRecordServiceImpl implements AfterTaskRecordService {

    @Autowired
    AfterTaskRecordDao afterTaskRecordDao;

    /**
     * 新增/更新
     * @param appTaskRecord
     */
    @Override
    public void saveOrUpdate(AppTaskRecord appTaskRecord) {
        afterTaskRecordDao.saveOrUpdate(appTaskRecord);
    }

    /**
     * 综合查询
     * @param paramap
     * @param splitPageBean
     * @return
     */
    @Override
    public List<AppTaskRecord> findList(Map<String, Object> paramap, SplitPageBean splitPageBean) {
        return afterTaskRecordDao.findList(paramap, splitPageBean);
    }
}